//
//  Searchres.m
//  lzl10-10
//
//  Created by 长 on 16/10/13.
//  Copyright © 2016年 lzl. All rights reserved.
//

#import "Searchres.h"

@interface Searchres ()

@end

@implementation Searchres

- (void)viewDidLoad {˜
    [super viewDidLoad];
    _searchCon = [[UISearchController alloc] initWithSearchResultsController:[self.storyboard instantiateViewControllerWithIdentifier:@"searchres"]];
    self.definesPresentationContext = YES;
    self.tableview.tableHeaderView = _searchCon.searchBar;
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
